package com.daka.dao;

import com.daka.entity.Volunteer;
import com.daka.mybatis.SQLMapper;
import com.daka.vo.response.org.ActVolunteerVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author beliveli on 2016/3/31 0031.
 */
@Repository(value = "volunteerMapper")
@SQLMapper
public interface VolunteerMapper {

    Volunteer selectById(int id);

    List<Volunteer> selectAll();

    List<ActVolunteerVo> selectByAct(Integer actId);
}
